
<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header"> 
      <a class="navbar-brand" href="#">Show' Blog Ctrl</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li <?php if ($this->pageName=="article")echo 'class="active"';?>><a href="<?php echo site_url('admin/article/index'); ?>">文章管理</a></li>
        <li <?php if ($this->pageName=="catalog")echo 'class="active"';?>><a href="<?php echo site_url('admin/catalog_ctrl/index'); ?>">分类管理 </a></li>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">ShowLee <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Exit</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>